package com.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 回复表
 * </p>
 *
 * @author zyh
 * @since 2023-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Replay对象", description="回复表")
public class Replay implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "留言编号")
    private Integer messageId;

    @ApiModelProperty(value = "回复编号")
    @TableId(value = "replayId", type = IdType.AUTO)
    private Integer replayId;

    @ApiModelProperty(value = "内容")
    private String replay;

    @ApiModelProperty(value = "回复时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date replayTime;


}
